from elixir import *
# elixir ORM stuff
metadata.bind =''insert correct db info here''
metadata.bind.echo = True

class MmpiText(Entity):
    id = Field(Integer , primary_key = True)
    patient_id_id = Field(Integer)
    MMPI_report = Field(Text)
    last_extraction_date = Field(DateTime)

    using_options(tablename = 'PITS_mmpi2')

    def __repr__ (self):
        return '<MMPI "patient_id: %d">' %(
            self.patient_id)
